package org.chen.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("video_voice")
public class VideoVoice extends Model<VideoVoice> {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    
    @TableField("voice_id")
    private String voiceId;
    
    private String language;
    
    private String gender;
    
    private String name;
    
    @TableField("preview_audio")
    private String previewAudio;
    
    @TableField("support_pause")
    private Boolean supportPause;
    
    @TableField("emotion_support")
    private Boolean emotionSupport;
    
    @TableField("support_interactive_avatar")
    private Boolean supportInteractiveAvatar;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}